using Microsoft.AspNetCore.SignalR;

namespace SignalRServer;

public class SignalRHub : Hub {
    public async Task Echo(string message) {
        await Clients.All.SendAsync("EchoMessage", $"You sent me: {message}");
    }
}